package main

import (
	"fmt"
	"time"
)

func T(n int) int {
	if n == 0 {
		return 1
	}
	return n * T(n-1)
}

func main() {
	start := time.Now()
	fmt.Println(T(10000))
	end := time.Now().Sub(start)
	fmt.Println(end)
}
